<style>
    .red {
      color: #f00
    }
</style>

<div class="col-sm-12 mt20">
  <div class="panel panel-default">
    <div class="panel-body">
      <div class="col-md-8" style="padding: 0px;">
        <div class="col-md-12">
          <h4 class="col-md-5 control-label">
            累计审核补贴：<b class="red">{{count.plan_num}}人</b>
          </h4>
          <h4 class="col-md-5 control-label">
            补贴发放总额：<b class="red">{{count.actual_money / 100 | currency : '￥'}}</b>
          </h4>
        </div>
        <div class="col-md-12">
          <label class="col-md-5 control-label">
            累计审批<b class="red">{{totalItems}}个</b>申请
          </label>
        </div>
      </div>
      <div class="col-md-4">

      </div>
    </div>
  </div>
           
 <div class="panel panel-default">
  <table class="table table-hover table-bordered">
    <thead class="panel panel-heading">
      <tr>
        <th class="text-center" style="width: 18%">申报单位</th>
        <th class="text-center" style="width: 13%">申报日期</th>
        <th class="text-center" style="width: 13%">申报补贴年月</th>
        <th class="text-center" style="width: 10%">补贴人数</th>
        <th class="text-center" style="width: 10%">补贴金额</th>
        <th class="text-center" style="width: 11%">会计事务所</th>
        <th class="text-center" style="width: 10%">银行</th>
        <th class="text-center" style="width: 15%">操作</th>
      </tr>
    </thead>
    <tbody style="border-bottom: 1px solid #eaeff0">
      <tr ng-repeat="obj in list">
        <td>{{obj.company_name}}</td>
        <td class="text-center">{{obj.apply_time.substring(0,10)}}</td>
        <td class="text-center">{{obj.time}}</td>
        <td class="text-center">{{obj.actual_num}}</td>
        <td class="text-center">{{obj.actual_money / 100 | currency : '￥'}}</td>
        <td class="text-center">{{obj.check_status=='1'?'通过':'未通过'}}</td>
        <td class="text-center">{{obj.check_status=='1'?(obj.supply_status=='1'?'已拨付':'待确认'):'-'}}</td>
        <td class="text-center">
          <a ng-click="exportDetail(obj)" class="btn btn-primary btn-xs">下载明细</a>
          <a ng-click="exportDay(obj)" class="btn btn-primary btn-xs">日期分组</a>
        </td>
      </tr>
    </tbody>
  </table>

  <div class="text-right">
    <pagination total-items="totalItems" ng-model="bigCurrentPage" max-size="5" class="m-b" 
    boundary-links="true" ng-change="load(bigCurrentPage)" items-per-page="itemsPerPage" rotate="false"
    previous-text="上一页" next-text="下一页" first-text="首页" last-text="末页"></pagination>
  </div>
  
 </div>
</div>